#include <iostream>
#include <string>
#include "characterList.h"

using namespace std;

int main(){
	//string word;
	//getline(cin, word);
	string word = "hello world!";
	char *str=&word[0];
	LeftRotateString(str,word.size(), 5);
	cout <<"left rotate string: "<< word << endl;

	string subword = "woo !";
	cout << StringContain(word, subword) << endl;

	string abc = "1234";
	char *perm = &abc[0];
	while (CalcAllPermutation(perm, abc.size() - 1)){
		cout << perm << endl;
	}

	system("pause");
	return 0;
}